﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity;
using Business.entidades;
using System.Reflection;
using System.Data.Entity.ModelConfiguration;
using System.ComponentModel.DataAnnotations.Schema;
using System.Threading;
using System.Data.Objects;
using System.Data.Common;
using System.Data.Entity.Infrastructure;
using Commons.log;

namespace Business.dao.conf
{


    public class ContextoDB : DbContext
    {

        private static readonly ILog log = CommonLog.GetLogger();


        public ContextoDB()
            : base("SEI-Context")
        { }


        protected override void OnModelCreating(DbModelBuilder modelBuilder)
        {
            modelBuilder.Configurations.Add(new ClassificadorMAP());
            modelBuilder.Configurations.Add(new QuestaoMAP());

        }

    }






}

